/**
* Created By wifi_uncle on 2019/11/1
*/
<template>
  <Select v-model="selectVal" :placeholder="placeholder" clearable @on-change="onChange" style="minWidth:162px">
    <Option v-for="item in isQFList" :value="item.value" :key="item.value">{{ item.label }}</Option>
  </Select>
</template>

<script>
export default {
  name: 'IsQfUser',
  props: {
    value: {
      // type: String|Number|null,
      default: '',
    },
    placeholder: {
      type: String,
      default: '请选择'
    },
    selectStyle: {
      type: String,
      default: 'minWidth:162px'
    }
  },
  data() {
    return {
      selectVal: this.value,
      isQFList: [
        {
          label: '全部',
          value: '-1',
        },
        {
          label: '是',
          value: '1'
        },
        {
          label: '否',
          value: '0'
        },
      ],
    }
  },
  methods: {
    onChange(val) {
      this.$emit('input', val)
    }
  },
  watch: {
  }
}
</script>

<style scoped>

</style>
